efivar: check that efivarfs is writeable
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 18 Mar 2022 14:21:33 +0000 (15:21 +0100)
committerMate Kukri <mate.kukri@canonical.com>
Tue, 10 Feb 2026 11:27:19 +0000 (11:27 +0000)
commitc526113547ae460492ba6ce4a92b659328e24bcf
tree68e6cf98a1f526394189f231768372a6236e2c56
parent361acc044e77f3cea5f06d0049844d95989997cc
efivar: check that efivarfs is writeable

Some UEFI implementations (notably U-Boot) don't implement the
SetVariable() runtime service. On these systems the GRUB installation
must be completed manually. Write a warning in this case but avoid
throwing an error.  (LP: #1965288)

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Gbp-Pq: Name efivar-check-that-efivarfs-is-writeable.patch
grub-core/osdep/unix/efivar.c